//
//  User.m
//  NaRiWeChat
//
//  Created by xxcao on 14-5-5.
//  Copyright (c) 2014年 xxcao. All rights reserved.
//

#import "User.h"

@implementation User

+ (id)sharedInstance {
    static User *singleton = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        singleton = [[[self class] alloc] init];
    });
    return singleton;
}

- (void)clearUserInfo:(User *)user {
    user.userName = NullString;
    user.uuId = NullString;
    user.userPassword = NullString;
}


- (void)installgUser:(NSDictionary *)dict {
    //用户名
    ImportStringIntoBean(userName);
    ImportStringIntoBean(uuId);
    ImportStringIntoBean(userPassword);
}

@end
